import http from '@/utils/http'

export const login = data =>
  http.post('/user/login', data, {
    neddLogin: false,
  })

// 获取平台
export const getPlatform = query =>
  http.get(`/config/get_bc_type`, {
    params: query,
  })
